<template>
  <div class="workflow-instance-page">
    <div class="placeholder-content">
      <div class="placeholder-icon">
        <i class="pi pi-clone" style="font-size: 4rem; color: #1890ff;"></i>
      </div>
      <h2>流程实例管理</h2>
      <p class="placeholder-description">此页面正在开发中，敬请期待...</p>
      <div class="placeholder-features">
        <div class="feature-item">
          <i class="pi pi-check-circle"></i>
          <span>流程实例列表</span>
        </div>
        <div class="feature-item">
          <i class="pi pi-check-circle"></i>
          <span>实例详情查看</span>
        </div>
        <div class="feature-item">
          <i class="pi pi-check-circle"></i>
          <span>流程跟踪</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
// 流程实例管理页面
// TODO: 实现流程实例的查看、跟踪功能
</script>

<style scoped>
.workflow-instance-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px;
}

.placeholder-content {
  text-align: center;
  max-width: 600px;
}

.placeholder-icon {
  margin-bottom: 24px;
}

.placeholder-content h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 16px;
}

.placeholder-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

.placeholder-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #f5f5f5;
  border-radius: 6px;
  font-size: 14px;
  color: #666;
}

.feature-item i {
  color: #52c41a;
  font-size: 16px;
}
</style>
